package service;

import org.springframework.beans.factory.annotation.Lookup;
import org.springframework.stereotype.Component;
import service.AService;

/**
 * description:
 * <p>
 * change history:
 * date             defect#             person             comments
 * ---------------------------------------------------------------------------------------------------------------------
 * 2020/6/15          ********            lightyh                create file
 *
 * @author: light
 * @date: 2020/6/15 23:53
 * @copyright: 2020, FA Software (Shanghai) Co., Ltd. All Rights Reserved.
 */
@Component
public abstract class Hhtest {

	@Lookup
	public abstract AService getPrototype();

	public void getA(){
		AService aService = getPrototype();
		System.out.println(aService.hashCode());
	}
}